package com.ccit.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("进货记录")
@TableName("overhaul")
public class Overhaul {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "订单生成时间")
    @TableField("time")
    private Timestamp time;

    @ApiModelProperty(value = "维修器材")
    @TableField("name")
    private String name;


    @ApiModelProperty(value = "订单器材数量")
    @TableField("count")
    private Integer count;

    @ApiModelProperty(value = "订单价格")
    @TableField("price")
    private double price;

    @ApiModelProperty(value = "操作执行人员")
    @TableField("employee_id")
    private Long  employeeId;



}
